class LoginEntity {
	LoginRetobject retObject;
	int retCode;
	String retMsg;

	LoginEntity({this.retObject, this.retCode, this.retMsg});

	LoginEntity.fromJson(Map<String, dynamic> json) {
		retObject = json['retObject'] != null ? new LoginRetobject.fromJson(json['retObject']) : null;
		retCode = json['retCode'];
		retMsg = json['retMsg'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.retObject != null) {
      data['retObject'] = this.retObject.toJson();
    }
		data['retCode'] = this.retCode;
		data['retMsg'] = this.retMsg;
		return data;
	}
}

class LoginRetobject {
	LoginRetobjectUser user;
	String token;
	bool register;

	LoginRetobject({this.user, this.token, this.register});

	LoginRetobject.fromJson(Map<String, dynamic> json) {
		user = json['user'] != null ? new LoginRetobjectUser.fromJson(json['user']) : null;
		token = json['token'];
		register = json['register'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.user != null) {
      data['user'] = this.user.toJson();
    }
		data['token'] = this.token;
		data['register'] = this.register;
		return data;
	}
}

class LoginRetobjectUser {
	String birthday;
	String no;
	String education;
	String gender;
	String passwordPaymentSalt;
	String signature;
	bool is1;
	bool is2;
	String type;
	bool is7;
	bool is6;
	String createAt;
	String professional;
	bool is8;
	String companyNo;
	String registeredCapital;
	String legelPerson;
	String nickname;
	String company;
	String payment;
	String id;
	String address;
	String mobile;
	String businessScope;
	String credentialsSalt;
	String headPic;
	String companyLicenseUrl;
	String companyValidity;
	String name;
	String job;

	LoginRetobjectUser({this.birthday, this.no, this.education, this.gender, this.passwordPaymentSalt, this.signature, this.is1, this.is2, this.type, this.is7, this.is6, this.createAt, this.professional, this.is8, this.companyNo, this.registeredCapital, this.legelPerson, this.nickname, this.company, this.payment, this.id, this.address, this.mobile, this.businessScope, this.credentialsSalt, this.headPic, this.companyLicenseUrl, this.companyValidity, this.name, this.job});

	LoginRetobjectUser.fromJson(Map<String, dynamic> json) {
		birthday = json['birthday'];
		no = json['no'];
		education = json['education'];
		gender = json['gender'];
		passwordPaymentSalt = json['passwordPaymentSalt'];
		signature = json['signature'];
		is1 = json['is1'];
		is2 = json['is2'];
		type = json['type'];
		is7 = json['is7'];
		is6 = json['is6'];
		createAt = json['createAt'];
		professional = json['professional'];
		is8 = json['is8'];
		companyNo = json['companyNo'];
		registeredCapital = json['registeredCapital'];
		legelPerson = json['legelPerson'];
		nickname = json['nickname'];
		company = json['company'];
		payment = json['payment'];
		id = json['id'];
		address = json['address'];
		mobile = json['mobile'];
		businessScope = json['businessScope'];
		credentialsSalt = json['credentialsSalt'];
		headPic = json['headPic'];
		companyLicenseUrl = json['companyLicenseUrl'];
		companyValidity = json['companyValidity'];
		name = json['name'];
		job = json['job'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['birthday'] = this.birthday;
		data['no'] = this.no;
		data['education'] = this.education;
		data['gender'] = this.gender;
		data['passwordPaymentSalt'] = this.passwordPaymentSalt;
		data['signature'] = this.signature;
		data['is1'] = this.is1;
		data['is2'] = this.is2;
		data['type'] = this.type;
		data['is7'] = this.is7;
		data['is6'] = this.is6;
		data['createAt'] = this.createAt;
		data['professional'] = this.professional;
		data['is8'] = this.is8;
		data['companyNo'] = this.companyNo;
		data['registeredCapital'] = this.registeredCapital;
		data['legelPerson'] = this.legelPerson;
		data['nickname'] = this.nickname;
		data['company'] = this.company;
		data['payment'] = this.payment;
		data['id'] = this.id;
		data['address'] = this.address;
		data['mobile'] = this.mobile;
		data['businessScope'] = this.businessScope;
		data['credentialsSalt'] = this.credentialsSalt;
		data['headPic'] = this.headPic;
		data['companyLicenseUrl'] = this.companyLicenseUrl;
		data['companyValidity'] = this.companyValidity;
		data['name'] = this.name;
		data['job'] = this.job;
		return data;
	}
}
